/**
 * 登陆
 * @param {type} data
 * @param {type} callback
 * @param {type} loading
 * @returns {undefined}
 */
function doLogin(data, callback, loading) {
    var url = $.domain + "/Login/doLogin";
    sApi(url, data, callback, loading);
}

/**
 * 退出登录
 * @param {type} callback
 * @param {type} loading
 * @returns {undefined}
 */
function doLogout(callback, loading) {
    var url = $.domain + "/Login/doLogout";
    sApi(url, {}, callback, loading);
}